from django.conf.urls import *

import autocomplete_light
autocomplete_light.autodiscover()

from django.contrib import admin
from django.views.generic import RedirectView
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$', RedirectView.as_view(url='mdcs/')),
    (r'^mdcs/', include('mdcssport.mdcsapp.urls')),
    (r'^mdcs/media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': 'E:/workspace/mdcssport/mdcsapp/templates/media/'}),
    (r'^admin/', include(admin.site.urls)),
    (r'^autocomplete/', include('autocomplete_light.urls')),
)
